package com.bookstore.dao;

import com.bookstore.bean.Fruit;

import java.util.List;

public interface FruitDao {
    public List<Fruit> getFruitList();
    public boolean addFruit(Fruit fruit);
    public boolean updateFruit(Fruit fruit);
    public boolean delFruit(String fname);
    public Fruit getFruitByName(String name);
}
